package com.gec.hrm.dao.impl;

import com.gec.hrm.pojo.Dept;
import com.gec.hrm.pojo.Job;

import java.util.List;

public interface JobDao {
    //查询的方法
    public List<Job> jobList(String name, int page, int limit);

    public boolean checkJobName(String name);
    public int addJob(Job job);

    public int updJob(Job job);

    // 查询总条数
    public int count();

    public int delJob(int id);

    public List<Job> getAllJob();
}
